<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="enchant.resources.html">« 资源类型</a></li>
      <li style="float: right;"><a href="enchant.examples.html">范例 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.enchant.html">Enchant</a></li>
    <li>预定义常量</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="enchant.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="para">
  <dl>
   
    <dt id="constant.libenchant-version">
     <strong><code>LIBENCHANT_VERSION</code></strong>
     (<span class="type">string</span>)
    </dt>

    <dd>

     <span class="simpara">
      The version of libenchant.
      Available as of PHP 8.0.0.
     </span>
    </dd>

   
   
    <dt id="constant.enchant-myspell">
     <strong><code>ENCHANT_MYSPELL</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Dictionary type for MySpell. Used with
      <span class="function"><a href="function.enchant-broker-get-dict-path.html" class="function">enchant_broker_get_dict_path()</a></span> and
      <span class="function"><a href="function.enchant-broker-set-dict-path.html" class="function">enchant_broker_set_dict_path()</a></span>.
      Deprecated as of PHP 8.0.0.
     </span>
    </dd>

   
   
    <dt id="constant.enchant-ispell">
     <strong><code>ENCHANT_ISPELL</code></strong>
     (<span class="type">int</span>)
    </dt>

    <dd>

     <span class="simpara">
      Dictionary type for Ispell. Used with
      <span class="function"><a href="function.enchant-broker-get-dict-path.html" class="function">enchant_broker_get_dict_path()</a></span> and
      <span class="function"><a href="function.enchant-broker-set-dict-path.html" class="function">enchant_broker_set_dict_path()</a></span>.
      Deprecated as of PHP 8.0.0.
     </span>
    </dd>

   
  </dl>

 </p>
</div>
</div></div></body></html>